<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2019/2/20
 * Time: 18:05
 * name:更新需要续费学生记录
 * url:/erpStudent/update_need_renew_record
 */

$onrr_id = $route->bodyParams["onrr_id"];//主键ID

//更新条件
$whereArr = [
    "onrr_id" => $onrr_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_need_renew_record",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );